﻿<UserControl x:Class="MathematicallySafe.HeadCounter.Views.SyncView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <UserControl.Resources>

    </UserControl.Resources>


    <Grid Style="{StaticResource TabContainer}">
        <Grid Margin="100,25,0,0" TextElement.FontSize="14" TextElement.FontWeight="Bold">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>

            <TextBlock Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" >Upload your data to the guild website.</TextBlock>
            <Button Grid.Row="0" Grid.Column="1" VerticalAlignment="Center" Margin="8" Command="{Binding PublishCommand}">Publish</Button>

            <TextBlock Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Margin="0,0,32,0" >Get the latest data from the guild website</TextBlock>
            <Button Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Margin="8" Command="{Binding SynchCommand}">Get Latest</Button>

        </Grid>
    </Grid>
    
</UserControl>
